#ifndef DATAMODEL_H
#define DATAMODEL_H

#include <QList>
#include <QString>
class DataModel
{

   QList<QString> names;
   QList<QString> surnames;
public:
    DataModel();

    void populate();

    QString getName(const int& i) const;
    QString getSurname(const int& i) const;

    void setName(const int& i,QString name);
    void setSurname(const int& i,QString surname);
    int size() const;
    ~DataModel();
};

#endif // DATAMODEL_H
